package com.sikaryofficial.workbench.utils.excel.converter;


public class EnumIntegerStringConverter extends AbstractEnumStringConverter<Integer> {

    @Override
    public Class<?> supportJavaTypeKey() {
        return Integer.class;
    }

    @Override
    public Integer fromStr(String value) {
        return value == null || value.isEmpty() ? null : Integer.valueOf(value);
    }
}
